var express = require('express');
var router = express.Router();

const photos = [
  {name: 'Node.js Logo', path: 'http://nodejs.org/images/logos/nodejs-green.png'},
  {name: 'Ryan Speaking', path: 'http://nodejs.org/images/ryan-speaker.jpg'},
]

router.get('/', function(req, res, next) {
  res.render('rss', {
    title: 'Photos',
    photos: photos
  });
});

module.exports = router;
